[PLUGINS] ~maj plugins-dist
[lhc/web/www.git] / www / plugins-dist / medias / lib / getid3 / module.audio-video.wtv.php
1 <?php
2 /////////////////////////////////////////////////////////////////
3 /// getID3() by James Heinrich <info@getid3.org> //
4 // available at https://github.com/JamesHeinrich/getID3 //
5 // or https://www.getid3.org //
6 // or http://getid3.sourceforge.net //
7 // see readme.txt for more details //
8 /////////////////////////////////////////////////////////////////
9 // //
10 // module.audio.wtv.php //
11 // module for analyzing WTV (Windows Recorded TV Show) //
12 // audio-video files //
13 // dependencies: NONE //
14 // ///
15 /////////////////////////////////////////////////////////////////
16
17 if (!defined('GETID3_INCLUDEPATH')) { // prevent path-exposing attacks that access modules directly on public webservers
18 exit;
19 }
20
21 class getid3_wtv extends getid3_handler
22 {
23 /**
24 * @return bool
25 */
26 public function Analyze() {
27 $info = &$this->getid3->info;
28
29 $info['fileformat'] = 'wtv';
30 $info['video']['dataformat'] = 'wtv';
31
32 $this->error('WTV (Windows Recorded TV Show) files not properly processed by this version of getID3() ['.$this->getid3->version().']');
33
34 return true;
35 }
36
37 }